package com.itheima.sc.api.sms;

import com.itheima.sc.pojo.sms.HomeRecommendProduct;
import com.itheima.sc.pojo.sms.HomeRecommendProduct;
import com.itheima.sc.vo.PageResult;

import java.util.List;

public interface SmsHomeRecommendProductApi {

    //添加首页推荐
    void addRecommendProducts(List<HomeRecommendProduct> recommendProducts);

    //批量删除
    void deleteRecommendProducts(List<Long> ids);

    //分页查询首页推荐
    PageResult selectRecommendProductList(Integer page, Integer pageSize, Integer recommendStatus, String productName);
    //批量修改首页推荐的状态
    void updateRecommendProductStatus(List<Long> ids, Integer status);
    //修改首页推荐
    void updateRecommendProductSort(HomeRecommendProduct RecommendProduct);
}
